﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" media="screen" href="@Url.Content("~/Content/themes/start/jquery-ui-1.8.15.custom.css")" />
    <link rel="stylesheet" type="text/css" media="screen" href="@Url.Content("~/Content/ui.jqgrid.css")" />
    <script src="@Url.Content("~/Scripts/jquery-1.6.2.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.15.custom.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-timepicker-addon.js")" type="text/javascript"></script>    
    <script src="@Url.Content("~/Scripts/i18n/grid.locale-en.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.jqGrid.min.js")" type="text/javascript"></script>
    <script type="text/javascript">

        $(document).ready(function () {
            //$("#page").show();
            //$("#loading").hide();

        });

        //callback function to bring a hidden box back
        function callback() {

        };

        $(function () {
            $("a", "#nav").button();
            $("button, input:submit").button();
            $("#sidebar").accordion({
                autoHeight: false,
                navigation: true
            });
            $("ul", ".sidemenu").menu();
            $("#tabs").tabs();
            $("a", "#ActionLinkButtons").button();
            $("a", "#ActionLinkButtonsBottom").button();
        });
    </script>
</head>
<body>
    <div class="page">
        <header>
            <div id="header" class="ui-widget-header">
                <h1>
                    @{if(Request.Url.AbsoluteUri.Contains("localhost"))
                      {
                        <img src="@Url.Content("~/Content/LogoBlank.gif")" class="Logo" alt="logo" />
                        }
                        else
                        {
                        <img src="@Url.Content("~/Content/Logo.gif")" class="Logo" alt="logo" />
                        }
                    }
                </h1>
            </div>
        </header>
        <nav>
            @Html.Partial("_Menu")
        </nav>
        <section id="main">
            <div id="tabs">
                <ul>
                    <li><a href="#tabs-1"><strong>&nbsp;@ViewBag.Title</strong></a></li>
                    <li><a href="#tabs-2"></a></li> 
                </ul>
                <div id="tabs-1">
                    @RenderBody()
                </div>
                <div id="tabs-2">
                </div>
            </div>
        </section>
        <footer>
            @*<div id="footer">*@
                <p>
                    jobyjohn.org © 2011</p>
            @*</div>*@
        </footer>
    </div>
@*    <div id="loading" style="margin-left: 5px">
        <p>
            Loading... <%= DateTime.Now %>
        </p>
    </div>*@
</body>
</html>
